package com.drug.wms.mapper;

import java.util.List;
import com.drug.wms.domain.BusGoodsPriceRelation;

/**
 * 商品-价格关联Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-09
 */
public interface BusGoodsPriceRelationMapper 
{
    /**
     * 查询商品-价格关联
     * 
     * @param id 商品-价格关联主键
     * @return 商品-价格关联
     */
    public BusGoodsPriceRelation selectBusGoodsPriceRelationById(String id);

    /**
     * 查询商品-价格关联列表
     * 
     * @param busGoodsPriceRelation 商品-价格关联
     * @return 商品-价格关联集合
     */
    public List<BusGoodsPriceRelation> selectBusGoodsPriceRelationList(BusGoodsPriceRelation busGoodsPriceRelation);

    /**
     * 新增商品-价格关联
     * 
     * @param busGoodsPriceRelation 商品-价格关联
     * @return 结果
     */
    public int insertBusGoodsPriceRelation(BusGoodsPriceRelation busGoodsPriceRelation);

    /**
     * 修改商品-价格关联
     * 
     * @param busGoodsPriceRelation 商品-价格关联
     * @return 结果
     */
    public int updateBusGoodsPriceRelation(BusGoodsPriceRelation busGoodsPriceRelation);

    /**
     * 删除商品-价格关联
     * 
     * @param id 商品-价格关联主键
     * @return 结果
     */
    public int deleteBusGoodsPriceRelationById(String id);

    /**
     * 批量删除商品-价格关联
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusGoodsPriceRelationByIds(String[] ids);

    /**
     * 通过业务id删除
     * @param goodsNo
     * @return
     */
    public int deleteBusGoodsPriceRelationByGoodsNo(String goodsNo);


}
